home *** CD-ROM | disk | FTP | other *** search
/ Windows 6-Pak - Disc 3 / Windows 6-Pak (InfoMagic) (Disc 3) (1999).ISO / Misc-Sound-Tools / eject.zip / EJECT.TXT < prev   
Text File  |  1998-10-28  |  2KB  |  40 lines

  1.  ------------------------------------------------------------------------------
  2.                         EJECT.EXE - Eject the CDROM tray
  3.           Copyright (c) 1998 by Dave Navarro, Jr. (dave@basicguru.com)
  4.  ------------------------------------------------------------------------------
  5.  
  6.  As a relative "old-timer" in the computer world, I am still partial to
  7.  running DOS or "console" applications in Windows 95/98/NT.  I almost
  8.  always have several 4DOS boxes open at the same time.
  9.  
  10.  My mini-tower computer at work sits on the floor in a not-so convenient
  11.  spot.  There simply isn't any room on my desk top.  When you reach down to
  12.  press the button on the CD to open/close the tray, its located underneath
  13.  the tray door itself.
  14.  
  15.  So, pressing the button to open the drive works ok, but when the tray is
  16.  out it covers the button where I can't quite reach it easily.  Typically,
  17.  I'll double-click on "My Computer", right-click on the icon for my CDROM
  18.  drive, and select "Eject" which will close the drive.  But, as a command
  19.  line guy, it's pain.
  20.  
  21.  I wrote eject so that I could open and close the CDROM tray from a command
  22.  prompt in NT (it also works in Windows 95/98).  Believe me, it's made my
  23.  life easier.
  24.  
  25.  It's simple to use, just type "eject" at a command prompt and hit enter.
  26.  If your drive is closed, it will open.  If it's open, it will close.  If
  27.  you have more than one CDROM drive or a multi-CD carousel it won't do
  28.  anything.  You must specify the drive letter on the command line:
  29.  
  30.    eject f:
  31.  
  32.  As usual, this utility is free.  If you have any questions or suggestions,
  33.  please drop me an email message.
  34.  
  35.  As soon as I figure out how to eject a ZIP disk, I'm gonna add support for
  36.  that too.
  37.  
  38.  --Dave
  39.  dave@powerbasic.com
  40.